<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="abbf0a747180453186049b9998a9c7f9" class="chart-container" style="width:100%; height:100%;"></div>
    <script>
        var chart_abbf0a747180453186049b9998a9c7f9 = echarts.init(
            document.getElementById('abbf0a747180453186049b9998a9c7f9'), 'white', {renderer: 'canvas'});
        var option_abbf0a747180453186049b9998a9c7f9 = {
    "backgroundColor": "#e9e2e200",
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "pie",
            "name": "\u8bbf\u95ee\u6765\u6e90",
            "clockwise": true,
            "data": [
                {
                    "name": "python\u7a0b\u5e8f\u8bbe\u8ba1",
                    "value": 1
                },
                {
                    "name": "java\u7a0b\u5e8f\u8bbe\u8ba1",
                    "value": 2
                },
                {
                    "name": "MySQL\u6570\u636e\u5e93",
                    "value": 3
                },
                {
                    "name": "python\u4ece\u5165\u95e8\u5230\u7cbe\u901a",
                    "value": 3
                },
                {
                    "name": "\u8ba1\u7b97\u673a\u7ec4\u6210\u539f\u7406",
                    "value": 4
                }
            ],
            "radius": "55%",
            "center": [
                "50%",
                "50%"
            ],
            "roseType": "radius",
            "label": {
                "show": true,
                "position": "top",
                "color": "rgba(255, 255, 255, 0.3)",
                "margin": 8
            },
            "tooltip": {
                "show": true,
                "trigger": "item",
                "triggerOn": "mousemove|click",
                "axisPointer": {
                    "type": "line"
                },
                "showContent": true,
                "alwaysShowContent": false,
                "showDelay": 0,
                "hideDelay": 100,
                "formatter": "{a} <br/>{b}: {c} ({d}%)",
                "textStyle": {
                    "fontSize": 14
                },
                "borderWidth": 0,
                "padding": 5
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "python\u7a0b\u5e8f\u8bbe\u8ba1",
                "java\u7a0b\u5e8f\u8bbe\u8ba1",
                "MySQL\u6570\u636e\u5e93",
                "python\u4ece\u5165\u95e8\u5230\u7cbe\u901a",
                "\u8ba1\u7b97\u673a\u7ec4\u6210\u539f\u7406"
            ],
            "selected": {},
            "show": false,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "left": "center",
            "top": "20",
            "padding": 5,
            "itemGap": 10,
            "textStyle": {
                "color": "#fff"
            }
        }
    ]
};
        chart_abbf0a747180453186049b9998a9c7f9.setOption(option_abbf0a747180453186049b9998a9c7f9);
            window.addEventListener('resize', function(){
                chart_abbf0a747180453186049b9998a9c7f9.resize();
            })
    </script>
</body>
</html>
